package com.jiangxiaofei.citycloud.util;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by 上官林超 on 2017/7/30.
 */

public class T {
    public static boolean isDebug = true;

    public static void showShort(Context mContext, String msg) {
        if (isDebug) {
            Toast.makeText(mContext, msg, Toast.LENGTH_SHORT).show();
        }
    }

    public static void showLong(Context mContext, String msg) {
        if (isDebug) {
            Toast.makeText(mContext, msg, Toast.LENGTH_LONG).show();
        }
    }
}
